package com.lsk.bean;


import java.io.Serializable;
import java.lang.reflect.Member;

/**
 * 统一下单提交为微信的参数
 * @author
 * @date 2017年08月11日
 */
public class Unifiedorder implements Serializable {
    private static final long serialVersionUID = 1L;
    //微信支付表id
    private Integer weixinId;
    //微信分配的公众账号ID（企业号corpid即为此appId）
    private String appid;
    //商户id
    private String mch_id;
    //终端设备号(门店号或收银设备ID)，注意：PC网页或公众号内支付请传"WEB"
    private String device_info;
    //随机字符串:数字+大写字母的组合，32位
    private String nonce_str;
    //签名
    private String sign;
    //商品或支付单简要描述
    private String body;
    //商品名称明细列表
    private String detail;
    //附加参数（例如：用于区别本商户不同的分店）
    private String attach;
    //商户系统内部的订单号
    private String out_trade_no;
    //货币类型:符合ISO 4217标准的三位字母代码，默认人民币：CNY
    private String fee_type;
    //总金额
    private int total_fee;
    //APP和网页支付提交[用户端ip]，Native支付填调用微信支付API的机器IP。
    private String spbill_create_ip;
    //订单生成时间，格式为yyyyMMddHHmmss，
    private String time_start;
    //订单失效时间，格式为yyyyMMddHHmmss，最短失效时间间隔必须大于5分钟[支付宝是30分钟，同样30分钟]
    private String time_expire;
    //商品标记，代金券或立减优惠功能的参数
    private String goods_tag;
    //接收微信支付异步通知回调地址
    private String notify_url;
    //交易类型:JSAPI，NATIVE，APP h5为 MWEB
    private String trade_type;
    //trade_type=NATIVE，此参数必传。此id为二维码中包含的商品ID，商户自行定义。
    private String product_id;
    //no_credit--指定不能使用信用卡支付
    private String limit_pay;
    //trade_type=JSAPI，此参数必传，用户在商户appid下的唯一标识
    private String openid;
    //商户内部自己的退款单号
    private String out_refund_no;
    //退款总金额单位为分
    private int refund_fee;
    //操作员的id默认为mch_id
    private String op_user_id;
    //微信官方提供的订单号
    private String prepayid;
    //记录所对应的member
    private Member member;
    //返回给微信的状态码（用于支付回调时）
    public String return_code;
    //微信h5支付时候的场景信息官方的信息模板 {"h5_info"://h5支付固定传"h5_info"
    //{"type":"",//场景类型 "wap_url":"",//WAP网站URL地址"wap_name": ""//WAP 网站名}}
    public String scene_info;
    public String getScene_info() {
        return scene_info;
    }
    public void setScene_info(String scene_info) {
        this.scene_info = scene_info;
    }
    public String getReturn_code() {
        return return_code;
    }
    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }
    public String getAppid() {
        return appid;
    }
    public String getMch_id() {
        return mch_id;
    }
    public String getDevice_info() {
        return device_info;
    }
    public String getNonce_str() {
        return nonce_str;
    }
    public String getSign() {
        return sign;
    }
    public String getBody() {
        return body;
    }
    public String getDetail() {
        return detail;
    }
    public String getAttach() {
        return attach;
    }
    public String getOut_trade_no() {
        return out_trade_no;
    }
    public String getFee_type() {
        return fee_type;
    }
    public int getTotal_fee() {
        return total_fee;
    }
    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }
    public String getTime_start() {
        return time_start;
    }
    public String getTime_expire() {
        return time_expire;
    }
    public String getGoods_tag() {
        return goods_tag;
    }
    public String getNotify_url() {
        return notify_url;
    }
    public String getTrade_type() {
        return trade_type;
    }
    public String getProduct_id() {
        return product_id;
    }
    public String getLimit_pay() {
        return limit_pay;
    }
    public String getOpenid() {
        return openid;
    }
    public void setAppid(String appid) {
        this.appid = appid;
    }
    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }
    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }
    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }
    public void setSign(String sign) {
        this.sign = sign;
    }
    public void setBody(String body) {
        this.body = body;
    }
    public void setDetail(String detail) {
        this.detail = detail;
    }
    public void setAttach(String attach) {
        this.attach = attach;
    }
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }
    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }
    public void setTotal_fee(int total_fee) {
        this.total_fee = total_fee;
    }
    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }
    public void setTime_start(String time_start) {
        this.time_start = time_start;
    }
    public void setTime_expire(String time_expire) {
        this.time_expire = time_expire;
    }
    public void setGoods_tag(String goods_tag) {
        this.goods_tag = goods_tag;
    }
    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }
    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }
    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }
    public void setLimit_pay(String limit_pay) {
        this.limit_pay = limit_pay;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getOut_refund_no() {
        return out_refund_no;
    }
    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }
    public int getRefund_fee() {
        return refund_fee;
    }
    public void setRefund_fee(int refund_fee) {
        this.refund_fee = refund_fee;
    }
    public Integer getWeixinId() {
        return weixinId;
    }
    public void setWeixinId(Integer weixinId) {
        this.weixinId = weixinId;
    }
    public Member getMember() {
        return member;
    }
    public void setMember(Member member) {
        this.member = member;
    }
    public String getPrepayid() {
        return prepayid;
    }
    public void setPrepayid(String prepayid) {
        this.prepayid = prepayid;
    }
    public String getOp_user_id() {
        return op_user_id;
    }
    public void setOp_user_id(String op_user_id) {
        this.op_user_id = op_user_id;
    }


}
